@charset 'utf-8'

@import './base'

.message
    position fixed
    left 0
    top 0
    right 0
    bottom 0
    width 100%
    background-color rgba(0, 0, 0, .3)
    z-index 9000
    max-width rem(750)
    display flex
    align-items center
    justify-content center
    .message-inner
        box-sizing border-box
        border-radius rem(20)
        background-color #fff
        overflow hidden
        width rem(750 - 66 * 2)
    .message-header, .message-body, .message-footer
        padding rem(40) rem(30)
        margin-bottom rem(40)
    .message-no-header
        padding 0
    .message-body
        font-size rem(30)
        padding rem(20) rem(30)
        background-color #fff
        color #999
        text-align center
    .message-footer
        padding-top rem(0)
        margin-bottom rem(0)
    .message-confirm
        display flex
        align-content space-between
        .btn
            margin-right rem(30)
            flex 0 1 rem(260)
            height 100%
.message-toast
    .message-inner
        margin 0
        background-color rgba(0, 0, 0, .8)
        color #fff
        font-size rem(30)
        display inline-block
        padding rem(20) rem(30)
        text-align center
        width auto
    